package com.zhz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhz.domain.SysMenu;

import java.util.List;

/**
 * @author ：zhz
 * @date ：Created in 2020/12/20
 * @version: V1.0
 * @slogan: 天下风云出我辈，一入代码岁月催
 * @description: 
 **/
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 通过用户的Id查询用户的菜单数据
     * @param userId
     * @return
     */
    List<SysMenu> selectMenusByUserId(long userId);
}